import React from 'react';
import ReactDOM from 'react-dom';
let Hello = require('./hello').Hello;
import {zfpx1} from './msg';
alert(zfpx1);
require('./index.css');
ReactDOM.render(< Hello />, document.querySelector('#app'));

{/* if (process.env.NODE_ENV == 'production') {
    console.log('生产环境');
} else {
    console.log('开发环境');
} */
}
{/* if (module.hot) {
    module
        .hot
        .accept(['./hello.js'], () => {
            Hello = require('./hello').Hello;
            ReactDOM.render(< Hello / >, document.querySelector('#app'));
        });
} */
}